package com.koala.learn.javalearn;

import com.google.common.collect.Maps;
import org.junit.jupiter.api.Test;

import java.util.HashMap;

/**
 * Java 学习
 *
 * @author yantingrui
 * @date 2021/12/3   13:02
 */
public class JavaLearn {

    @Test
    public void test17() {
        final HashMap<Object, Object> objectObjectHashMap = Maps.newHashMap();
        final Object orDefault = objectObjectHashMap.getOrDefault("ok", "simple");

        System.out.println(orDefault);

    }

    @Test
    public void test1() {
        Rabbit rabbit = new Rabbit();
        rabbit.crowl("sss");
    }


}
